<fieldset>
<table>
  <tr>
    <td width="100" style="font-weight:bold;">Prioridade</td>
	<td width="65" style="font-weight:bold;">Multa</td>
    <td width="200" style="font-weight:bold;">Usu&aacute;rio</td>
	<td />
  </tr>
  
<% for circulation_list in @circulation_lists %>
  <tr>
    <td><%= h circulation_list.priority %></td>
    <td><%= h circulation_list.fine %></td>
  	<td><%= h circulation_list.user.complete_name %></td>
  	<td></td>
    <td><%= link_to 'Mostrar', :action => 'show', :id => circulation_list, :magazine_id => @magazine_id %> |
	<%= link_to 'Editar', :action => 'edit', :id => circulation_list,  :magazine_id => @magazine_id %> |
    <%= link_to 'Excluir', { :action => 'destroy', :id => circulation_list, :magazine_id => @magazine_id}, 
    		:confirm => 'Deseja mesmo deletar?', :method => :post %></td>
  </tr>
<% end %>
</table>

<%= link_to 'Anterior', { :page => @circulation_list_pages.current.previous } if @circulation_list_pages.current.previous %>
<%= link_to 'Pr&oacute;xima', { :page => @circulation_list_pages.current.next } if @circulation_list_pages.current.next %> 
</fieldset>

<p>
<%= link_to 'Cadastrar usu&aacute;rio nesta lista de circula&ccedil;&atilde;o', :action => 'new' , :magazine_id => @magazine_id%>
</p>
<p>
<%= link_to 'Voltar', :action => :list %>
</p>
